package com.llxy.worker.service;

import com.llxy.worker.domain.SupportJob;
import com.llxy.worker.dto.HomemakingRespDTO;
import com.llxy.worker.dto.SupportJobDTO;

import java.util.List;

public interface SupportJobService{


    int deleteByPrimaryKey(Integer id);

    int insert(SupportJob record);

    int insertSelective(SupportJob record);

    SupportJob selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(SupportJob record);

    int updateByPrimaryKey(SupportJob record);

    Integer selectBySupportIdCount(Long userId);

    int deliver(Integer jobId,Integer supportId);

    List<SupportJobDTO> deliverHistory(Long userId);

    int selectCount(Long userId);

    int selectJobCount();

    List<HomemakingRespDTO> selectList(Long homemakingUserId);

    int examine(Integer status,Integer id);
}
